package old.builder.demo2;

public class Test {
    public static void main(String[] args) {
        //建造者模式 director 不需要，客户端更加灵活调整
        var work = new Worker();
        work.builderA("馒头").builderC("可乐");
        System.out.println(work.getBuild());
    }
}
